package com.example.shop.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author qwert
 * @version 1.0.0
 * @create 2025/9/2 20:34
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Goods {
    private String goodsId;
    private String categoryId;
    private String shopId;
    /*
    预定：limited  热销：hot  新品：new  推荐：recommended
     */
    private String tagType;

    private String title;
    private String coverImageId;
    private Long marketPrice;
    private Long price;
    private Long saleTime;
    private Long stock;

    private boolean isSoldOut;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String operatorId;
    private boolean isDelete;
}
